package com.anjubao.parking.municipal.user.mapper;

import com.anjubao.parking.municipal.user.dto.DateCustomerDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

/**
 * 订单Mapper
 *
 * @author zhuchunfeng
 */
@Mapper
public interface ParkingCustomerMapper extends BaseMapper<UserInfoMapper> {

    List<DateCustomerDto> day(LocalDate startTime, LocalDate endTime);

    List<DateCustomerDto> month(LocalDate startTime, LocalDate endTime);

    List<DateCustomerDto> year(LocalDate startTime, LocalDate endTime);

    String total();
}
